'NHI?M V? C?A CLASS
'   
'
' tabPage
'
'
'

Public Class CTabPageUtils
    Public Shared Sub loadForm_2_TabPage(ByVal i_form As System.Windows.Forms.Form, _
                                          ByVal i_tabpage As System.Windows.Forms.TabPage)
        debug.Assert(Not (i_form Is Nothing), "Khong khoi tao form")
        debug.Assert(Not (i_tabpage Is Nothing), "Khong khoi tao tabpage")
        i_form.toplevel = False
        i_form.Dock = Windows.Forms.DockStyle.Fill
        i_form.FormBorderStyle = Windows.Forms.FormBorderStyle.None
        i_tabpage.Controls.Clear()
        i_tabpage.Controls.Add(i_form)
    End Sub
End Class
